package Data.Operation.Management;

import java.util.ArrayList;

import Data.MemberList;
import Data.Member.Member;
import Data.Shopuser.User;



public class MemberListManagement {
	MemberList members;
	
	public MemberListManagement(){
	}
	
	public MemberListManagement(MemberList members){
		this.members=members;
	}
	
	public Member findMember(String id){
		Member member = null;
		for(Member tempmember:members.get()){
			if(tempmember.getid().equals(id)){
				member=tempmember;
				break;
			}
			
		}
		return member;
	}
	
}
